<?php
namespace app\Controller;
use think\Db;


/**
 * Created by PhpStorm.
 * Email: 1194008361@qq.com
 * User:liaosp.top
 * Date: 2018/9/10
 * Time: 21:28
 */
class Index
{
    public function index(){
       success('成功');
//        echo "error";
      cache('mycachepost',serialize($request = file_get_contents('php://input')));
//        cache('mycacheget',$_GET);
//        echo "sdfsdlaskdfjlasdjflk";
    }
    public function getcache(){
        dump(json_decode(unserialize(cache('mycachepost'))));
    }

}

